package com.itgungnir.designpattern.strategy;

/**
 * 红头鸭，呱呱叫，用翅膀飞行
 */
public class RedHeadDuck extends Duck {

	public RedHeadDuck() {
		System.out.println("只是一只红头鸭");
		super.flyBehavior = new FlyWithWings();
		super.quackBehaviro = new Quack();
	}
}